#ifndef GIL_STEP_VIEW_HPP
#define GIL_STEP_VIEW_HPP

namespace boost {
	namespace gil {

		template <typename T> struct dynamic_x_step_type;

		template <typename View>
		inline typename dynamic_x_step_type<View>::type step_view(const View& src) {
			typedef typename dynamic_x_step_type<View>::type RView;
			return RView(src.dimensions(), typename RView::xy_locator(src.xy_at(0, 0), 1, 1));
		}
	} // namespace gil
} // namespace boost

#endif	// GIL_STEP_VIEW_HPP
